<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>编辑标签</title>
    <link rel="stylesheet" th:href="@{/layuimini/lib/layui-v2.5.5/css/layui.css}"
          href="../../../static/layuimini/lib/layui-v2.5.5/css/layui.css" media="all">
    <link rel="stylesheet" th:href="@{/layuimini/css/public.css}" href="../../../static/layuimini/css/public.css"
          media="all">
    <style>
        body {
            background-color: #fff;
            padding: 0;
            margin: 0;
        }

        body .layui-layer-btn {
            background-color: #F8F8F8;
            border-top: 1px solid #eee;
            padding-top: 10px;
        }
    </style>
</head>
<body>
<div class="layui-form">
    <form id="contentTagForm">
        <div class="layui-form-item"></div>
        <div class="layui-form-item">
            <label class="layui-form-label">标签名：</label>
            <div class="layui-input-inline" style="width: 320px;">
                <input id="typeName" type="text" name="typeName" th:value="${contentType!=null?contentType.typeName:''}"
                       lay-verify="required" placeholder="请输入标签名称" autocomplete="off"
                       class="layui-input">
            </div>
            <div class="layui-form-mid" style="color: red">*</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">title：</label>
            <div class="layui-input-inline" style="width: 320px;">
                <input id="title" type="text" name="title" th:value="${contentType!=null?contentType.title:''}"
                       placeholder="请输入seo title" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">描述：</label>
            <div class="layui-input-inline" style="width: 320px;">
                <input id="description" type="text" min="0" name="description" th:value="${contentType!=null?contentType.description:''}"
                       placeholder="请输入seo description" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">关键词：</label>
            <div class="layui-input-inline" style="width: 320px;">
                <input id="keywords" type="text" name="keywords" th:value="${contentType!=null?contentType.keywords:''}"
                       placeholder="请输入seo keywords" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
        <!--隐藏域-->
        <input id="typeId" type="hidden" name="typeId" th:value="${contentType!=null?contentType.typeId:param.typeId}">
        <input id="type" type="hidden" name="type" value="2">

    </form>
</div>


</body>
</html>